package com.example.service;

import com.example.controller.request.AccountLoginRequest;
import com.example.controller.request.AccountRegisterRequest;
import com.example.model.AccountDO;
import com.baomidou.mybatisplus.extension.service.IService;
import com.example.utils.JsonData;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author 二当家小D
 * @since 2022-06-02
 */
public interface AccountService extends IService<AccountDO> {

    JsonData register(AccountRegisterRequest registerRequest);

    JsonData login(AccountLoginRequest loginRequest);
}
